Skip to main content

snapshotMode

Type

property

Summary

If and when a snapshot of a barcode should be returned.

Syntax

get the snapshotMode of <widget>
set the snapshotMode of <widget> to "clicked"
set the snapshotMode of <widget> to "deteted"
set the snapshotMode of <widget> to "never"

Description

Set the snapshotMode to specify if and when a snapshot of a barcode should be returned. If set to "off", barcode snapshots will never be taken. If set to "detected", a snapshot will be taken each time a barcode is detected and sent as part of the barcode array with the barcodeDetected message. If set to "clicked", a snapshot will be taken each time a barcode is clicked and sent as part of the barcode array with the barcodeClicked message.

Defaults to "off"

Compatibility and Support

OS

android